package com.whub507.msgmanager.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Group {

    @TableId(type = IdType.AUTO)
    private Integer id;

//    private String groupnum;

    private Integer userid;

    private Integer memberid;

    private String membername;

    private String memberphone;

//    private String memberrole;

//    private String memberdepartment;

//    private String memberposition;

    private String groupname;

    public Group(Integer userid, String membername, String memberphone, String groupname){
        this.userid = userid;
        this.membername = membername;
        this.memberphone = memberphone;
        this.groupname = groupname;
    }

}
